package com.jdbcyw1.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jdbcbase.dao.MenuDao;
import com.jdbcyw1.dao.UserDao;
import com.jdbcyw1.module.User;
import com.jdbcyw1.service.UserService;
@Service("userService")
public class UserServiceImpl implements UserService {
	@Resource
	private UserDao userDao;
	@Override
	public List<User> queryUser(User user) {
		return this.userDao.queryUser(user);
	}
	@Override
	public User queryUserForOne(String str) {
		return this.userDao.queryUserForOne(str);
	}

}
